void main() {
  var isPublic = true;
  String visibility = 'public'; // Since isPublic is always true, 'private' was dead code

  // print('visibility = $visibility');

  String playerName(String? name) => name ?? 'Guest';
  // print('playerName(null) = ${playerName(null)}');
  // print('playerName("张三") = ${playerName("张三")}');

  String playerName3(String? name) {
    if (name != null) {
      return name;
    } else {
      return 'Guest';
    }
  }

  // print('playerName3(null) = ${playerName3(null)}');
  // print('playerName3("张三") = ${playerName3("张三")}');
}
